﻿<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- 以下版权信息不能去除，否则程序无法运行 -->
<title>厦门百酷首家网络商城- Powered by ShopNC</title>
<meta name="KEYWords" content="厦门百酷首家网络商城" />
<meta name="DEscription" content="厦门百酷首家网络商城" />
<meta name="author" content="Shopnc UI Team" />
<meta name="Robots" content= "all" /> 
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="templates/default/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<script language="JavaScript" type="text/javascript" src="js/jquery/jquery.js"></script>
<script language="JavaScript" type="text/javascript" src="js/jquery/jquery.validate.js"></script>
<script language="JavaScript" type="text/javascript" src="js/jquery/jquery.cookie.js"></script>
<script language="JavaScript" type="text/javascript" src="js/index.js"></script>
<script language="JavaScript" type="text/javascript" src="js/jquery/jquery.pngFix.js"></script>
<script type=text/javascript>
	$(function(){$('#logo').pngFix();});
</script>
<script>
//搜索编码
function makeEscape(str){
	var str=escape(str);
	window.open('product.php?action=list&lang=zh&keyword='+str);
}
//判断统计路径的标识，1为非静态页面
var js_statics_sign=1;
</script>
<!-- 统计代码 -->
<script language="JavaScript" type="text/javascript" src="js/statics.js?url=http://chigco.host15.web-75.com"></script>
<!-- 以上版权信息不能去除，否则程序无法运行 --><link href="css/blue/list.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="js/jquery/jquery.validate.js"></script>
<script language="JavaScript" type="text/javascript" src="js/jquery/jquery.blockUI.js"></script>
<script language="javascript">
$(function(){
	$('#mainform').validate({
		debug:"true",
		errorClass: "wrong",
		rules:{
			txtBuyNum:{
				max: function() {
					if(parseInt(99) > 0){
						return 99;
					}else{
						return 0;
					}
				},
				min: function() {
					if(parseInt(99) > 0){
						return 1;
					}else{
						return 0;
					}
				}
			},
			txtProvince:{required: function() {if($('#_edit_address').css('display')=='none'){return false;}else{return true;}}},
			txtCity:{required: function() {if($('#_edit_address').css('display')=='none'){return false;}else{return true;}}},
			area_id:{required: function() {if($('#_edit_address').css('display')=='none'){return false;}else{return true;}}},
			txtAddress:{required: function() {if($('#_edit_address').css('display')=='none'){return false;}else{return true;}}},
			txtZip:{required: function() {if($('#_edit_address').css('display')=='none'){return false;}else{return true;}}},
			txtReceiveName:{required: function() {if($('#_edit_address').css('display')=='none'){return false;}else{return true;}}},
			txtPayPrice:{
				required: function() {
					if(1==0){
						return true;
					}else{
						return false;
					}
				},
				min:function() {
					if(1==0){
						return "";
					}else{
						return 0;
					}
				}
			}
		},
		messages:{
			txtBuyNum: {max: "购买数量不能大于99",min: "购买数量不能小于0"},
			txtProvince: {required: "收货地址省不能为空"},
			txtCity:{required: "收货地址市不能为空"},
			area_id:{required: "收货地址省不能为空"},
			txtAddress:{required: "街道地址不能为空"},
			txtZip:{required: "邮编不能为空"},
			txtReceiveName:{required: "收货人名称不能为空"},
			txtPayPrice:{required: "出价金额必须大于",min:"出价金额必须大于"}
		},
		submitHandler: function() {
			var  myForm=document.forms['mainform'];
			//如果选择预付款支付，则验证预付款金额是否可以支付
			if($('#radio_predeposit').attr('checked') == true){
				if(parseFloat($('#predeposit_price').val()) > parseFloat($('#available_predeposit').val())){
					alert('预付款金额不够支付商品，请充值或者选择其他支付方式');
					return false;
				}
			}
			//检查购买数量
			if($('#buy_num').val() > 0 ){
				if(parseInt($('#buy_num').val()) < parseInt($('#txtBuyNum').val())){
					alert('购买数量不能大于可购数量！');return false;
				}else{
					document.getElementById('Submit').disabled = true;
					$.get("product.php",{action:"check_code",checkcode:$('#checkcode').val(),random_number:Math.random()},function(data){
						if(data=='1'){
							myForm.action='product_buy.php?action=order';
							myForm.method='POST';
							myForm.submit();
						}else{
							alert('验证码错误');
							document.getElementById('Submit').disabled = false;
							return false;
						}
					});
				}
			}else{
				alert('购买数量不能大于可购数量！');return false;
			}
		}
	});
	$('table.bb tr td input').focus(function() { $(this).parent().next().find('label').addClass('label_focus') }).blur(function() { $(this).parent().next().find('label').removeClass('label_focus');});
	//遮罩效果
	var question = $('#question')[0];
	$("#blockUi").click(function(){
		window.open('../member/own_predeposit.php?action=pay');
		$.blockUI(question, { width: '275px' });
	});
	$('#yes').click(function() {
		ajax_get_predeposit()
		$.unblockUI();
		return false;
	});
	//跳转到帮助页面
	$('#no').click(function() {
		location.href='http://www.shopnc.net/forum/';
	});
})
//取会员可用资金
function ajax_get_predeposit(){
	$.ajax({
		url: "../member/own_predeposit.php",
		data: 'action=ajax_get_predeposit',
		type:'post',
		dataType:"json",
		success: function(msg){
			if(msg.type == '1'){//成功
				$('#available_predeposit').val(msg.message);
				$('#span_available_predeposit').html(msg.message);
			}
			/*else{//失败
				alert('失败');
			}*/
		}
	});
	return false;
}
</script></head>
<body>
<link href="css/index/header_new.css" rel="stylesheet" type="text/css" />
<link href="css/index/default_new.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(document).ready(function(){  
        $(".select_lang h3").mouseover(function(){    
                $(this).addClass("over");}).mouseout(function(){ 
                $(this).removeClass("over");})
		$(".select_lang h3").hover(function()
		{
			$(this).next().css("display","block");
		},
		function()
		{
			$(this).next().css("display","none");	
		});
		$(".select_lang ul").hover(function()
		{
			$(this).css("display","block");
		},
		function()
		{
			$(this).css("display","none");	
		})
});
</script>
<div id="layout_head_s" class="examples">
  <!-- 头部布局BEGIN -->
  <div class="head_part">
    <div class="head_side_left"></div>
    <div class="head_side_right"></div>
    <div class="head_middle">
      <!-- LOGO -->
      <h2 id="logo"><a href="http://chigco.host15.web-75.com"><img src='templates/default/images/logo.png' alt="ShopNC多用户综合购物平台" /></a></h2>
      <!-- 快捷菜单 -->
      <ul id="quick_menu">
                <li><a class="" href="home/category.php"><span>我要买</span></a></li>
                <li><a class="" href="member/own_product.php?action=sell"><span>我要卖</span></a></li>
                <li><a class="MyTaoBao" href="member/own_main.php"><span>我的商城</span></a></li>
                <li><a class="" href="http://www.shopnc.net/document/multishop_userservice_help/"><span>客服中心</span></a></li>
        		 </ul>
      <!-- 快速连接 -->
      <ul id="quick_link">
              	<li><a href="member/own_main.php"  >
        你好，test</a></li>
			        	<li><a href="member/own_message.php" target="_blank" >
        站内信</a></li>
			        	<li><a href="member/own_collection.php?genre=store" target="_blank" >
        收藏夹</a></li>
			        	<li><a href="home/product.php?action=search" target="_blank" >
        高级搜索</a></li>
			        	<li><a href="home/member.php?action=logout&refer_url=http%3A%2F%2Fchigco.host15.web-75.com%2Fhome%2Fproduct_buy.php"  >
        [退出]</a></li>
			  		    <li class="select_lang">
        <h3>语言选择</h3>
        <ul>
			  		  	<li><a href="javascript:changeLang('zh-cn');">简体中文</a>
			  		  	<li><a href="javascript:changeLang('zh');">繁体语言</a>
			          </ul>
        </li>
      </ul>
    <div class="clear"></div>
      <div class="nav_part">
        <div class="nav_side_left"></div>
        <div class="nav_side_right"></div>
      </div>
    </div>
  </div>
</div>
<!-- 头部布局END -->
<script language="javascript">
//取语言包cookie
var lang_type = $.cookie("cdb_commonlangType");
$("#sel_language").attr("value",lang_type);

//多语言选择
function changeLang(langTypeValue){
	$.cookie("cdb_commonlangType", langTypeValue);
	window.location.reload();
}
//取会员导航快速链接
function get_quickL_links(){
	$.ajax({
		url: "home/index.php",
		data: 'action=getQuickLinks&ajax=1',
		type:'get',
		dataType:"html",
		success: function(html){
			$('#quick_link').html(html);
		}
	})
}
get_quickL_links();
</script>
<div class="layout_950">

  <div class="box_layout"> <div class="search_sitenav"><img src="images/blue/ico2.gif" /> <a href="http://chigco.host15.web-75.com">首页</a> > 购买信息确认</div>
    <div class="framebox">
      <div class="side_left"></div>
      <div class="side_right"></div>
      <form name="mainform" id="mainform" method="post" action="product_buy.php?action=order">
        <div class="middle">
          <h2><img src="images/blue/zi8.gif" /></h2>
          <div class="insidebox">
            <div class="boxtitle">确认宝贝价格与交易条件</div>
            <div class="boxblocks">
              <div class="blockside">
                <div class="content">
                  <table width="100%" border="0" cellspacing="2" cellpadding="2" class="proinfo">
                    <tr>
                      <td width="220" height="220" rowspan="6" align="center" valign="middle" bgcolor="#FFFFFF">
                      <p><img src="attachments/jpg/2009/12/03/12598063054b171e617e132_mid.jpg" /></p></td>
                      <td width="100" align="right" valign="middle">宝贝名称： </td>
                      <td>佳能500D(Canon 500D)</td>
                    </tr>
                    <tr>
                      <td align="right" valign="middle">目前价格：</td>
                      <td>5368.00 元 </td>
                    </tr>
                    <tr>
                      <td align="right" valign="middle">所在地：</td>
                      <td>天津
	  		  		南开区</td>
                    </tr>
                    <tr>
                      <td align="right" valign="middle">卖家：<br /></td>
                      <td><a href="store/userinfo.php?userid=1" target=_blank>shopnc</a></td>
                    </tr>
                                        <tr>
                      <td align="right" valign="middle">付款方式&nbsp;：<br /></td>
                      <td>
                      								<!-- 如果是预付款支付，则显示可用金额 -->
														<input onclick="change_currency(this.value);" type="radio" name="txtPayment" checked="checked" value="offline" />线下支付
												  								<!-- 如果是预付款支付，则显示可用金额 -->
														<input onclick="change_currency(this.value);" type="radio" name="txtPayment"  value="alipay" />支付宝
												  						 </td>
                    </tr>
                    <tr>
                      <td align="right" valign="middle">货币类型：</td>
                      <td>
                      					  	<span id="div_offline_currency">
																	  		<input type="radio" checked="checked" name="offline_currency" value="CNY" />人民币(CNY):5,368.00
														<!-- 如果是预付款支付，隐藏域作为验证预付款账户是否可以进行支付 -->
																			</span>
					  					  	<span id="div_alipay_currency">
																	  		<input type="radio" checked="checked" name="alipay_currency" value="CNY" />人民币(CNY):5,368.00
														<!-- 如果是预付款支付，隐藏域作为验证预付款账户是否可以进行支付 -->
																			</span>
					                        </td>
                    </tr>
                                      </table>
                </div>
              </div>
            </div>
            <div class="barbtm"></div>
            <div class="boxtitle">确认您的收货地址</div>
            <div class="boxblocks">
              <div class="blockside">
                <div class="content">
                  <div class="addcontrol">
                  <script language="javascript" type="text/javascript">
			        var noAddress = false;
					</script>
			        <script language="javascript" type="text/javascript">
			          					</script>
								          <input type="hidden" name="checkaddr" id="checkaddr" value="" />
			          <ul id="receive_info" >
			            		            </ul>
					<input type="hidden" name="deliver_address_empty" value="1">
					</td>
			      </tr>
			      <tr>
			        <td height="30" colspan="2" align="center" bgcolor="#F3F9FC" style="padding-top:15px;">
			       <script language="javascript">
			          var IE5plus = navigator.userAgent.indexOf('MSIE 6') != -1 || navigator.userAgent.indexOf('MSIE 5') != -1;
			          function ie6fix() {
			          	if (!IE5plus) return;
			          	document.getElementById('_edit_address').style.display = '';
			          	document.getElementById('_edit_address').style.display = 'none';
			          }
			
			          function putAddr(id) {
			          	var addr = eval('addrDetail_' + id);
			          	var post = eval('postCode_' + id);
			          	var name = eval('fullName_' + id);
			          	var phone = eval('phone_' + id);
			          	var mobile = eval('mobile_' + id);
						var area_id = eval('area_id_' + id);
			          	document.mainform['txtAddress'].value = addr;
			          	document.mainform['txtZip'].value = post;
			          	document.mainform['txtReceiveName'].value = name;
			          	document.mainform['txtPhone'].value = phone;
			          	document.mainform['txtMobilephone'].value = mobile;
			          	document.getElementById('checkaddr').value=document.getElementById('add' + id).value;
						document.mainform['area_id'].value = area_id;
						
						if(area_id != ''){//地区ID不能为空的时候
							if($('#area_'+id+'_0').val() != ''){
								$("<option value='' selected='selected'>"+$('#area_'+id+'_0').val()+"</option>").appendTo("#c1");
							}
							if($('#area_'+id+'_1').val() != ''){
								$("<option value='' selected='selected'>"+$('#area_'+id+'_1').val()+"</option>").appendTo("#c2");
							}
							if($('#area_'+id+'_2').val() != undefined){
								$("<option value='' selected='selected'>"+$('#area_'+id+'_2').val()+"</option>").appendTo("#c3");
							}
							if($('#area_'+id+'_3').val() != undefined){
								$("<option value='' selected='selected'>"+$('#area_'+id+'_3').val()+"</option>").appendTo("#c4");
							}
						}
						
			          	try {
			          		if (!_show) ie6fix();
			          	}catch (e) {
			          		if (!_show) ie6fix();
			          	}
			          }
			          var _show = false;
			          function showEdit(forceOpen) {
			          	var obj = document.getElementById('_edit_address');
			          	if (obj == null) {
			          		return;
			          	}
			          	if (_show && !forceOpen) {
			          		_show = false;
			          		obj.style.display = 'none';
							document.getElementById('checkaddr').value = $("input[@type=radio][@name=daddr][@checked]").val();
			          	}else {
			          		_show = true;
			          		obj.style.display = '';
							document.getElementById('checkaddr').value="";
			          	}
			          }
			        </script> </div>
					<div class="addcontrol">
				  <script language="javascript">
			        if (!noAddress) {
			        	document.write('<a href="javascript:void showEdit();">使用其他地址</a>&nbsp;&nbsp;&nbsp;&nbsp;');
			        }
			        var hasError = false;
			    	</script>
                  <a href="../member/own_receive.php" target="_blank">管理我的收货地址</a>
				  </div>
                  <div class="addform">
		                  <table id="_edit_address" style="display:none;" class="proinfo">
						  	<tr>
								<td colspan="2" align="left"><input type="hidden" name="area_id" id="area_id" /></td>
							</tr>
				            <tr>
				              <td width="150" align="right" valign="top">省(市)：</td>
				              <td>
								<select id="c1" class="searchformselect" name="c1" style="width: 120px">
									<option valus="" selected></option>
																		<option value="1||1">天津</option>
																	</select>
								<select class="searchformselect" id="c2" style="width: 120px" name="c2">
								</select>
								<select class="searchformselect" id="c3" style="width: 120px" name="c3">
								</select>
								<select class="searchformselect" id="c4" style="width: 120px" name="c4">
								</select>
								<script language="javascript">
								//地区选择
								function tonext(whos) {
									$(whos).change(
										function(){
											var valarray=$(this).val().split('||');	
											$('#area_id').val(valarray[0]);
											if (valarray[1]=='1') {
												$(this).next().attr('disabled','true').html('<option value="" selected="selected">数据正在加载中……</option>');
												$.get(
													'../home/tohtml.php',
													{action:'get_area',id:valarray[0],random_number:Math.random()},
													function(data){
														DataArray = data.split("|||");
														var a='';
														for (var i = 0; i<DataArray.length-1; i++) {
															att=DataArray[i].split("||");
															id=att[0];
															cla=att[2];
															a+='<option value="'+id+'||'+cla+'">'+att[1]+((cla=='1')?' ->':'')+'</option>';
														}
														
													$(whos).next().removeAttr('disabled').html('<option value="" selected="selected"></option>'+a).nextAll().html('');
													tonext($(whos).next());
													}
												)
											} else {
												$(whos).nextAll().html('').attr('disabled','true');
											};
										}
									)
								};
								$(document).ready(function(){
									//地区选择
									tonext('#c1');
								})
								</script>
				              </td>
				            </tr>
				            <tr>
				              <td align="right" valign="top">街道地址：</td>
				              <td>
							  	<input type="text" name="txtAddress" id="txtAddress" maxlength="80" style="width:400px;" />
							 	<label style="display:block;" metaDone="true" generated="true" for="txtAddress"></label><br/>
				                <font color="#ff9900">此处不需要再填写省市区，否则会重复显示。</font> <br />
				              </td>
				            </tr>
				            <tr>
				              <td align="right">邮政编码：</td>
				              <td><input type="text" name="txtZip" maxlength="8" id="txtZip" size="10" value=""><label style="display:block;" metaDone="true" generated="true" for="txtZip"></label></td>
				            </tr>
				            <tr>
				              <td align="right">收货人名称：</td>
				              <td><input type="text" name="txtReceiveName" maxlength="16" id="txtReceiveName" size="12" value=""><label style="display:block;" metaDone="true" generated="true" for="txtReceiveName"></label></td>
				            </tr>
				            <tr>
				              <td align="right">电话(选填)：</td>
				              <td><input type="text" name="txtPhone" maxlength="25" size="20" value=""></td>
				            </tr>
				            <tr>
				              <td align="right">手机(选填)：</td>
				              <td><input type="text" name="txtMobilephone" maxlength="12" size="20" value=""></td>
				            </tr>
				            <tr>
				              <td>&nbsp;</td>
				              <td><font color="#12A1C9">电话和手机是为了方便快递公司联系收货人。</font></td>
				            </tr>
				          </table>
				        <div></div></td>
				      </tr>
				    </table>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="barbtm"></div>
            <div class="boxtitle">确定购买数量</div>
            <div class="boxblocks">
              <div class="blockside">
                <div class="content">
                <table width="100%" >
			      <tr>
			        <td>
			            <input type="hidden" name="anony_enabled" value="aa">
			            <p>
			              <input type="checkbox" name="anonymous" id="anonymous" value="1" >
			              <label for="anonymous"><b>隐藏我的名字</b>（选择后，您对该宝贝的出价、留言和评价都将匿名。）</label></p></td>
			      </tr>
			    </table>
			    <table width="100%">
			      <tr>
			        <td height="1" bgcolor="#78C9E0" scope="col"></td>
			      </tr>
			    </table>
			    <input type=hidden name="event_submit_do_buy" value="1">
			    <input type=hidden name="txtPname" value="佳能500D(Canon 500D)">
			    <input type=hidden name="txtPcode" value="7fb3290a83a0b8445291d2a65e749eb9">
			    <input type=hidden name="txtPcid" value="48">
			    <input type=hidden name="txtSellerId" value="1">
			    <input type=hidden name="sell_type" value="1">
			    <input type=hidden name="photo_url" value="attachments/jpg/2009/12/03/12598063054b171e617e132.jpg">
			    <input type=hidden name="seller_nickname" value="shopnc">
			    <input type=hidden name="seller_rate_sum" value="0">
			    <input type=hidden name="seller_rank" value="0">
			    <input type=hidden name="who_pay_ship" value="运费由卖家承担">
			    <input type=hidden name="allow_quantity" id="allow_quantity" value="99">
			    <input type=hidden name="group_mincount" value="">
			    <input type=hidden name="secure_pay" value="true">
			    <input type=hidden name="have_sold" value="0">
			    <input type=hidden name="region" value="天津
	  		  		南开区">
			    <input type=hidden name="step_price" value="">
                <table width="100%" border="0" cellpadding="2" cellspacing="2" >
			            <tr>
			              <td width="150" align="right" valign="top"> 购买数量： </td>
			              <td align="left"><input type="hidden" name="txtUnitPrice" value="5368.00" size="10">
			                <input type="text" id="txtBuyNum" name="txtBuyNum" value="1" size="5" />
			              （可购 99 件） <label style="display:none" for="txtBuyNum" class="wrong" metaDone="true" generated="true"></label></td><input type="hidden" name="buy_num" id="buy_num" value="99" />
			            </tr>
			            			            <tr>
			              <td align="right" valign="top">运送方式：</td>
			              <td align="left"><div id="postageDiv"></div>
			                <input type="hidden" id="shippingHidden" name="_fma.b._0.s" value="" />
			                 运费由卖家承担  </td>
			            </tr>
			            <tr align="right" valign="top">
			              <td colspan="2"></td>
			            </tr>
			            <tr>
			              <td align="right" valign="top"> 检验代码： </td>
			              <td><input type=text name="checkcode" id="checkcode" value="" size="5"/>
			                <img id="checkCodeImg" src="../classes/libraries/code.php" onclick="this.src='../classes/libraries/code.php?' + Math.random()"  align="absmiddle"><a href="javascript:;" onclick="document.getElementById('checkCodeImg').src='../classes/libraries/code.php?' + Math.random()">看不清楚，再换一张</a><br/>
                            <font color="#12A1C9">请将图片上的数字或字母准确抄写到左侧文本框中</font></td>
			            </tr>
					                        <tr><td align="right" valign="top">给卖家留言：<br/>
			                    &nbsp;(可不填)</td><td>
			            <table width="100%" border="0" class="proinfo">
			              <tbody>
			                <tr>
			                  <td colspan="2"></td>
			                </tr>
			                <tr>
			                  <td  ></td>
			                  <td></td>
			                </tr>
			              </tbody>
			            </table><textarea rows="3" cols="40" name="leaveword" ></textarea><br/>
			                    <font color="#12A1C9">可以告诉卖家您对商品的特殊要求，如：颜色、尺码等</font></td></tr>
								          </table>
                </div>
              </div>
            </div>
            <div class="buybut">
              <input type="submit" name="Submit" id="Submit" value="确认无误，购买">
              <br />
              <span>点击按钮表示您将确认购买并同意支付货款,您可在确认后选择支付宝方式安全付款</span> </div>
          </div>
          <div class="barbtm"></div>
        </div>
      </form>
    </div>
    <div class="barbtm"></div>
  </div>
</div>
  <div id="layout_foot"><div id="footerlist">
	<ul class="footlink">
				<li>
			<a href="html/section/1.html" target="_blank"> 客户中心</a> 
		</li>
			<li>
			<a href="html/section/2.html" target="_blank"> 诚征英才</a> 
		</li>
			<li>
			<a href="html/section/3.html" target="_blank"> 联系我们</a> 
		</li>
			<li>
			<a href="html/section/4.html" target="_blank"> 网站地图</a> 
		</li>
			<li>
			<a href="html/section/5.html" target="_blank"> 版权说明</a> 
		</li>
		</ul>
	</div>
	<div class="copyright">
	<!-- 该模块中版权信息不能去除，否则程序无法运行start -->
	Powered by <a href="http://www.shopnc.net" target="_blank">ShopNC</a>  &copy; v2.6 2001-2009 <a href="http://www.shopnc.net" target="_blank">网城创想</a> Inc.<br />
	  <!-- 该模块中版权信息不能去除，否则程序无法运行end -->
	   版权所有 厦门百酷首家网络商城有限责任公司
	  <a href="http://www.miibeian.gov.cn/" target="_blank">津ICP备080001719号</a>
	  <br />
	  软件著作权登记号：2008SR07843
    </div>
<div id="hack"></div>
</div>	 
 
<div id="question" style="display:none; cursor: default; padding:10px"> 
        <b style=" font-size:14px; margin-top:10px; line-height:50px; height:50px;padding-top:10px; padding-bottom:10px"></b> <br />
        <input type="button" id="yes" value="已完成充值"  style=" border:1px solid #CCCCCC;width:80px; margin:5px; background-image:url(../templates/system/images/anniu.gif)"/> 
        <input type="button" id="no" value="充值遇到问题"  style="border:1px solid #CCCCCC;width:80px; margin:5px; background-image:url(../templates/system/images/anniu.gif)"/>
</div> 



<script language="javascript">
	void showEdit();
</script>
<!-- 判断支付方式 -->
<script>
$(function(){
	$("#mainform input[@type=radio]").each(function(){
		if(this.name == 'txtPayment' && this.checked == true){
			$("#div_"+this.value+"_currency").css('display','');
		}
	});
});
function change_currency(str){
	$("#mainform input[@type=radio]").each(function(){
		if(this.name.indexOf('_currency')){
			$("#div_"+this.value+"_currency").css('display','none');
		}
	});
	$("#div_"+str+"_currency").css('display','');
}
//选中支付方式中第一个方式，来显示货币种类
	change_currency('offline');	</script>
</body>
</html>
